//##############################
// jQuery Radio-buttons with Checkbox Behavior
// By Dharmavirsinh Jhala - dharmavir@gmail.com
// Last Updated: 5th March 08
/*
 USAGE:
	$(document).ready(function(){
		$(":radio").behaveLikeCheckbox();
	}
*/
jQuery.fn.extend({
behaveLikeCheckbox: function(){
	var radioStatus	=	false;
	$.each($(this),function(){
		$(this).data("status",$(this).attr("checked"));
		$(this).mouseover(function(){
			this.radioStatus = $(this).attr("checked");
			$(this).data("status",$(this).attr("checked"));
		});
		$(this).click(function(){
			if($(this).data("status") != true)
			{
				$(this).attr("checked",true);
				$(this).data("status",true);
			}
			else	
			{
				$(this).attr("checked",false);
				$(this).data("status",false);
			}
		});
	});
	return this;
}
});